import Mock from "mockjs";
const Random = Mock.Random;
// mock对象
export const mockgetexpectedrate = function () {
  let list = [];
  var max = Random.integer(10,20)
  var min =Random.integer(2,9)
  // 模拟一个object对象，键为pk和fields，其中field指向另一个对象，里面是实体类
    const object = Mock.mock({
      max_expected_return:max,
      min_expected_return:min,
      user_expected_time:'@natural(1,4)'
    });
    list.push(object);

  return {
    
    data: list,
    flag: true,
  };
};
